package com.bjqg.bjqg01.bjqg.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.bjqg.bjqg01.bjqg.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/4/12 0012.
 */

public class PreEntrustNumberDetailAdapter extends BaseQuickAdapter<String,BaseViewHolder>{

    public PreEntrustNumberDetailAdapter(@LayoutRes int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        helper.setText(R.id.item_pre_entrust_detail_wtbh,item.toString())
                .setText(R.id.item_pre_entrust_detail_jybh,item.toString())
                .setText(R.id.item_pre_entrust_detail_ypmc,item.toString())
                .setText(R.id.item_pre_entrust_detail_gcdm,item.toString())
                .setText(R.id.item_pre_entrust_detail_clmc,item.toString())
                .setText(R.id.item_pre_entrust_detail_wtdw,item.toString())
                .setText(R.id.item_pre_entrust_detail_gcmc,item.toString())
                .setText(R.id.item_pre_entrust_detail_jyxm,item.toString())
                .setText(R.id.item_pre_entrust_detail_wtlx,item.toString());
    }
}
